﻿using Juli.Mes.VisionDemo.Dtos;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp;

namespace Juli.Mes.VisionDemo
{
    public interface IVisionDemoAppService:IApplicationService
    {
        TotalStateDto GetTotalState();

        TotalAlarmDto GetTotalAlarm();

        MapDataDto GetMapData();

        List<NameValue<int>> GetCustomState(string customName);

        TotalBatteryInfoDto GetBatterySummary();

        AlarmDto GetOneAlarm();

        TotalStateDto GetMarketShare();

        Task<bool> SendAlarmMessage();

        List<TotalVoltageDto> GetVoltageData();

        string LocalizableStringTest();

        MonthTimeDto GetMonthTime(string customName);

        Task HandleJson();

        Task ImportExcelFile(IFormFile uploadedFile);

    }
}
